package top.api.common;

public class RedisKey {
    private RedisKey(){}

    public static final String KEY = "novel_net";


    public static String getNovelLookCountKey(){
        return KEY + ":" +"novel_look_count";
    }

    /**
     * 图片验证码
     * @Author yql
     * @Date 2023-06-01 9:03
     */
    public static String getPicCodeKey(){
        return KEY + ":" + "pic_code";
    }

    /**
     * 限流key
     * @Author yql
     * @Date 2023-06-15 14:19
     */
    public static String getControllerLimitKey(){
        return KEY + ":" +"controller_limit";
    }
}
